﻿<%@ Page Language="C#" AutoEventWireup="true" EnableEventValidation="false" CodeFile="Masteraction.aspx.cs"
    Inherits="Masteraction" %>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Master</title>
</head>
<body>
    <form id="form1" runat="server">
    <ext:PageManager ID="PageManager1" AutoSizePanelID="Panel1" runat="server" />
    <ext:Panel ID="Panel1" runat="server" Layout="Fit" ShowBorder="False" ShowHeader="false"
        BodyPadding="5px" EnableBackgroundColor="true">
        <Toolbars>
            <ext:Toolbar ID="Toolbar1" runat="server">
                <Items>
                    <ext:Button ID="btnClose" EnablePostBack="false" Text="关闭" runat="server" Icon="SystemClose">
                    </ext:Button>
                    <ext:Button ID="btnSaveContinue" Text="保存" runat="server" Icon="SystemSaveNew" OnClick="btnSaveContinue_Click"
                        ValidateForms="SimpleForm1">
                    </ext:Button>
                    <ext:ToolbarFill ID="ToolbarFill1" runat="server">
                    </ext:ToolbarFill>
                </Items>
            </ext:Toolbar>
        </Toolbars>
        <Items>
            <ext:Panel ID="Panel2" runat="server" Layout="Fit" EnableBackgroundColor="true" ShowBorder="false"
                ShowHeader="false">
                <Items>
                    <ext:HiddenField runat="server" Required="true" ShowRedStar="true" Label="id" ID="txbid">
                    </ext:HiddenField>
                    <ext:Form runat="server" EnableBackgroundColor="true" ShowBorder="false" ShowHeader="false">
                        <Rows>
                            <ext:FormRow runat="server">
                                <Items>
                                    <ext:TextBox runat="server" Required="true" ShowRedStar="true" Label="用户名" ID="txbnicheng">
                                    </ext:TextBox>
                                    <ext:TextBox runat="server" Label="密码" EmptyText="留空不修改" ID="txbmaster_Password">
                                    </ext:TextBox>
                                </Items>
                            </ext:FormRow>
                            <ext:FormRow ID="FormRow1" runat="server">
                                <Items>
                                    <ext:TextBox runat="server" Required="true" ShowRedStar="true" Label="组织架构ID" ID="txbLink"
                                        Enabled="false">
                                    </ext:TextBox>
                                     <ext:Label runat="server" ID="lblParent" ShowLabel="false"></ext:Label>
                                    <ext:Button runat="server" Text="关联组织架构" ID="btnLink">
                                    </ext:Button>
                                </Items>
                            </ext:FormRow>
                            <ext:FormRow ID="FormRow2" runat="server">
                                <Items>
                                    
                                    <ext:DropDownList runat="server" ID="DDLstate" Required="true" ShowRedStar="true"
                                        Label="状态">
                                        <ext:ListItem Value="1" Text="开通" />
                                        <ext:ListItem Value="0" Text="禁用" />
                                    </ext:DropDownList>
                                </Items>
                            </ext:FormRow>
                            <ext:FormRow ID="FormRow3" runat="server">
                                <Items>
                                    <ext:CheckBoxList ID="CkbPower" Label="角色权限" ColumnNumber="3" runat="server">
                                    </ext:CheckBoxList>
                                </Items>
                            </ext:FormRow>
                        </Rows>
                    </ext:Form>
                </Items>
            </ext:Panel>
        </Items>
    </ext:Panel>
    <ext:Window ID="Window1" Title="编辑" Popup="false" EnableIFrame="true" runat="server"
        EnableMaximize="true" EnableResize="true" Target="Parent" OnClose="Window1_Close"
        IsModal="True" Width="750px" Height="550px" EnableClose="false">
    </ext:Window>
    </form>
</body>
</html>
